package com.dbz.service.Impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dbz.dao.WarehousingDao;
import com.dbz.entity.ProductJin;
import com.dbz.entity.Warehousing;
import com.dbz.service.WarehousingService;
import org.hibernate.validator.constraints.pl.REGON;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WarehousingServiceImpl implements WarehousingService {
    @Resource
    private WarehousingDao warehousingDao;

    @Override
    public IPage<Warehousing> selectPage(IPage<Warehousing> page, Wrapper<Warehousing> queryMapper) {
        return warehousingDao.selectPage(page,queryMapper);
    }

    @Override
    public IPage<Warehousing> selectPageaaa(IPage<Warehousing> page, Wrapper<Warehousing> queryMapper) {
        return warehousingDao.selectPageaaa(page,queryMapper);
    }


    @Override
    public int insertWarehousing(List<Object> list) {

        return warehousingDao.insertWarehousing(list);
    }

    @Override
    public int updatewarestate(String waid) {
        return warehousingDao.updatewarestate(waid);
    }

    @Override
    public int updatewareisbiaoshi(String waid) {
        return warehousingDao.updatewareisbiaoshi(waid);
    }
}
